package com.test3;
public class test3 {
	public static void main(String[] args) {
      /* String name= JOptionPane.showInputDialog("what is your name?");
       String input= JOptionPane.showInputDialog("How old are you?");
       int age =Integer.parseInt(input);
       System.out.println("Hello,"+name+". Next year,you'll be"+(age+1));
	int[] smallPrimes={2,3,5,7,11,13};
	int[] luckyNumbers={1001,1002,1003,1004,1005,1006,1007};
	System.arraycopy(smallPrimes,2,luckyNumbers,3,4);
	for(int i=0;i<luckyNumbers.length;i++)
		System.out.print(i+":"+luckyNumbers[i]);arraycopyarraycopy*/
      if(args[0].equals("-h"))
    	  System.out.print("hello,");
      else if(args[0].equals("-g"))
    	  System.out.print("Goodbye,");
      for(int i=1;i<args.length;i++)
          System.out.print(""+args[i]);
      System.out.println("!");
	}

}
